package com.mlnx.data.service;


import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.SpoInfo;
import com.mlnx.data.pojo.form.SpoInfoForm;
import com.mlnx.data.pojo.vo.SpoInfoVo;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by amanda.shan on 2019/10/11.
 *
 *
 */
public interface SpoDataService {

    void save(SpoInfo spoInfo);

    List<SpoInfo> getSpos(Integer patientId, Long startTime, Long endTime);

    void updateSpos(List<SpoInfo> spoInfos);

    void deleteSpos(List<SpoInfo> spoInfos);

    SpoInfoVo getAllSpos(PageForm pageForm, @Valid SpoInfoForm spoInfoForm);
}
